import { registerRootComponent } from 'expo';

import App from './App';
import Test from './pages/Test';
import Welcome from './pages/Welcome';
import Login from './pages/Login';
import Hot from './pages/Hot';
import Router from './router';


// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(Router);
